package util;

import java.sql.Timestamp;



/**
 *
 *
 * Last Modified: Oct 31, 2010<br>
 * Version: 1.0<br>
 * Created: Oct 31, 2010<br>
 * Author: Katie Kuksenok (katie.kuksenok@gmail.com)
 *
 * @author Katie
 */
public class ResultRow {
    private int contentid;
    private Timestamp scraped;

    public ResultRow(int contentid, Timestamp scraped){
        this.contentid = contentid;
        this.scraped = scraped;
    }

    public int getContentid() {
        return contentid;
    }

    public Timestamp getScraped() {
        return scraped;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ResultRow other = (ResultRow) obj;
        if (this.contentid != other.contentid) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 37 * hash + this.contentid;
        return hash;
    }
    

}
